package cn.stylefeng.guns.sys.modular.system.db2.mapper;


import cn.stylefeng.guns.sys.modular.system.db2.entity.Biz;
import cn.stylefeng.guns.sys.modular.system.db2.model.result.BizResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.sql.Timestamp;
import java.util.List;

public interface BizMapper extends BaseMapper<Biz> {
 String lastMoneyByShopCode(@Param("shopCode") String shopCode, @Param("yesterdayTime") Timestamp yesterdayTime, @Param("todayTime") Timestamp todayTime);
 String origMoneyByShopCode(@Param("shopCode") String shopCode, @Param("yesterdayTime") Timestamp yesterdayTime, @Param("todayTime") Timestamp todayTime);

 String incomeMoneyByShopCode(@Param("shopCode") String shopCode, @Param("yesterdayTime") Timestamp yesterdayTime, @Param("todayTime") Timestamp todayTime);

 List<BizResult> listMd(@Param("yesterdayTime") Timestamp yesterdayTime, @Param("todayTime") Timestamp todayTime);
 List<BizResult> listMdByShopId(@Param("shopId") Integer shopId,@Param("yesterdayTime") Timestamp yesterdayTime, @Param("todayTime") Timestamp todayTime);
 List<BizResult>mdList();
}
